package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.CustomerDialog;
import java.util.HashMap;

/**
 * 对象功能: 考勤申请汇总查询activity
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/2/14 17:59
 */
public class AttendanceSummaryListQueryActicity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    CustomerDialog regStaff = (CustomerDialog) getIntent().getSerializableExtra(
        AttendanceSummaryListQueryFragment.EXTRA_STAFF);
    CustomerDialog dataStatus = (CustomerDialog) getIntent().getSerializableExtra(
        AttendanceSummaryListQueryFragment.EXTRA_DATASTATUS);
    CustomerDialog dataTime = (CustomerDialog) getIntent().getSerializableExtra(
        AttendanceSummaryListQueryFragment.EXTRA_DATATIME);
    HashMap<String, String> typeMap = (HashMap<String, String>) getIntent().getSerializableExtra(
        AttendanceSummaryListQueryFragment.EXTRA_TYPE);
    return AttendanceSummaryListQueryFragment.newInstance(regStaff, dataStatus, dataTime, typeMap);
  }
}
